'''
Created on 6 mai 2010

@author: philip
'''

from models import Explorer
from people_repository import PeopleRepository

def addExploration4Explorer(userId):
    """
        adds exploration for to explorer given user id
        
        @return: nothing
    """
    explorer = PeopleRepository().getOrAddExplorer(userId)
    explorer.explorations = explorer.explorations + 1
    explorer.save() 